<?php
/**
 * Created by PhpStorm.
 * User: jiangjunxian
 * Date: 2016/12/2
 * Time: 16:18
 */

namespace app\modules\admin\controllers;


use app\modules\admin\components\ItemController;
use yii\rbac\Item;

class PermissionController extends ItemController
{

    /**
     * @return integer
     */
    public function getType()
    {
        return Item::TYPE_PERMISSION;
    }

    /**
     * @return array
     */
    public function labels()
    {
        return [
            'Item' => '权限',
            'Items' => '权限列表',
        ];
    }
}